package com.jiulong.dao;

import com.jiulong.model.TAdvert;
import com.jiulong.model.TAdvertExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TAdvertMapper {
    long countByExample(TAdvertExample example);

    int deleteByExample(TAdvertExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TAdvert record);

    int insertSelective(TAdvert record);

    List<TAdvert> selectByExample(TAdvertExample example);

    TAdvert selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TAdvert record, @Param("example") TAdvertExample example);

    int updateByExample(@Param("record") TAdvert record, @Param("example") TAdvertExample example);

    int updateByPrimaryKeySelective(TAdvert record);

    int updateByPrimaryKey(TAdvert record);
}